package com.wisnews.util;

import com.wisnews.pojo.sec.entity.Permission;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Description：菜单树节点，用于生成左侧菜单，树型结构
 * @Author: yuyd
 * @Email: yyd8358@foxmail.com
 * @Date: 2020/12/18 11:21
 * @Version 1.0
 */
@Data
public class MenuTreeNode implements Serializable {

    private Permission data;

    private List<MenuTreeNode> children = new ArrayList<>();

}
